package job_004;

import java.util.Scanner;

public class two {

	public static void main(String[] args) {
		Scanner myScanner=new Scanner(System.in);
		System.out.println("give score=");
		int grade=myScanner.nextInt();
		
		if(grade>100 || grade<0) {
			System.out.println("您输入的是无效成绩");
		}else if(grade>90) {
			System.out.println("A");
		}else if(grade<90 && grade>80) {
			System.out.println("B");
		}else if(grade<80 && grade>60) {
			System.out.println("C");
		}else if(grade<60) {
		System.out.println("D");
	}
	}
}
